# -*- coding: utf-8 -*-
# @Time: 2022/9/11 2:54
# @Author: foxhuty
# @File: config.py
# @Software: PyCharm
# @Based on: python 3.10.6

# 数据库配置信息,当地数据库
HOSTNAME = '127.0.0.1'
PORT = '3306'
DATABASE = 'db_todo'
USERNAME = 'root'
PASSWORD = 'foxmmer'
DB_URI = f'mysql+pymysql://{USERNAME}:{PASSWORD}@{HOSTNAME}:{PORT}/{DATABASE}?charset=utf8mb4'

SECRET_KEY = "foxhuty081126hklhlfpsifpipf"

# SQLAlCHEMY_DATABASE_URI = DB_URI
# SQLALCHEMY_TRACK_MODIFICATIONS = False
